import os

file = './assets/classInd.txt'


def open_func():
    with open(file, 'r') as f:
        line = f.read()
        print(line)


def listdir_func():
    entries = os.listdir('.')
    return entries


def scandir_func():
    return os.scandir('.')


if __name__ == '__main__':
    # open_func()
    # ret = listdir_func()
    ret = scandir_func()
    with ret as i:
        for e in i:
            print(e)
    pass